package cn.community.system.service;

import cn.community.system.domain.Device;
import cn.community.system.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDeviceService {
    void delete(Long id);
    void save(Device device);
    Device get(Long id);
    List<Device> listAll();
    void update(Device device);

    // 分页
    PageInfo query(QueryObject qo);
}
